package com.zhang;

import org.junit.Test;

import java.io.*;

/**
 * @author 张栩垄~
 * @version 1.0
 */

public class Mytest {
    @Test
    public void Test1(){
            Integer a = 128, b = 128, c = 127, d = 127;
            System.out.println(a == b);
            System.out.println(c == d);
        A a1 = new A();
        A a2 = new A();
        System.out.println(a1==a2   );
    }
    @Test
    public void test11() throws IOException {
        InputStream is = new FileInputStream("G:\\activityList.xls");
        OutputStream out = new FileOutputStream("G:\\activityList2222222.xls");
        byte[] buff = new byte[256];
        int len = 0;
        while ((len=is.read(buff)) != -1){
            out.write(buff,0,len);
        }
        is.close();
        out.flush();
        out.close();
    }
}
class A{}
